package com.forum.entity.view;

import com.forum.entity.AboutUsentity;
import org.apache.commons.beanutils.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

/**
 * @ClassNameAboutUserView
 * @Author Lenovo
 * @Date 2023/11/25 16:06
 */
public class AboutUserView extends AboutUsentity implements Serializable {
    private static final long serialVersionUID=1L;
    public AboutUserView (){

    }
    public AboutUserView(AboutUsentity aboutUsentity){
        try {
            BeanUtils.copyProperties(this,aboutUsentity);
        }catch (IllegalAccessException | InvocationTargetException  e){
            e.printStackTrace();
        }
    }
}
